<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      libbytesize-2.2
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.79.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-9.1">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 9.1
      </h4>
      <h3>
        Chapter&nbsp;9.&nbsp;General Libraries
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="libblockdev.html" title=
          "libblockdev-2.23">Prev</a>
          <p>
            libblockdev-2.23
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="libcroco.html" title=
          "libcroco-0.6.13">Next</a>
          <p>
            libcroco-0.6.13
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="genlib.html" title=
          "Chapter&nbsp;9.&nbsp;General Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="libbytesize" name="libbytesize"></a>libbytesize-2.2
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to libbytesize
        </h2>
        <p>
          The <span class="application">libbytesize</span> package is a
          library facilitates the common operations with sizes in bytes.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://github.com/storaged-project/libbytesize/releases/download/2.2/libbytesize-2.2.tar.gz">
                https://github.com/storaged-project/libbytesize/releases/download/2.2/libbytesize-2.2.tar.gz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: b3cde64313e1d0d72828a5c6729d2721
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 436 KB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 4.2 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: less than 0.1 SBU (including tests)
              </p>
            </li>
          </ul>
        </div>
        <h3>
          libbytesize Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="pcre2.html" title=
          "PCRE2-10.34">pcre2-10.34</a>
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="gtk-doc.html" title=
          "GTK-Doc-1.32">GTK-Doc-1.32</a>, <a class="xref" href=
          "python-modules.html#six" title="six-1.14.0">six-1.14.0</a> (needed
          for tests and python bindings), <a class="ulink" href=
          "https://github.com/rhinstaller/pocketlint/releases">pocketlint</a>
          (python module for one test), and <a class="ulink" href=
          "https://pypi.python.org/pypi/polib">polib</a> (python module for
          one test)
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/libbytesize">http://wiki.linuxfromscratch.org/blfs/wiki/libbytesize</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of libbytesize
        </h2>
        <p>
          Install <span class="application">libbytesize</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">./configure --prefix=/usr &amp;&amp;
make</kbd>
</pre>
        <p>
          If you have the optional python modules installed, the regression
          tests can be run with: <span class="command"><strong>make
          check</strong></span>.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">bscalc</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Library:</strong>
              <span class="segbody">libbytesize.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">/usr/include/bytesize,
              /usr/share/gtk-doc/html/libbytesize, and
              /usr/lib/python3.7/site-packages/bytesize</span>
            </div>
          </div>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-16 18:46:23 -0800
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="libblockdev.html" title=
          "libblockdev-2.23">Prev</a>
          <p>
            libblockdev-2.23
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="libcroco.html" title=
          "libcroco-0.6.13">Next</a>
          <p>
            libcroco-0.6.13
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="genlib.html" title=
          "Chapter&nbsp;9.&nbsp;General Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
